#include "processpool.hpp"

using namespace ProcessPoolModule;

void Accept()
{
        std::cout << "网络通信" << std::endl;
}

int main()
{
    ProcessPool *pp = new ProcessPool(5, Worker);
    tm.PushTask(Accept);
    pp->InitProcess();
    pp->DispatchTask(5);
    pp->DebugPrint();
    pp->CleanProcessPool();
    return 0;
}